package com.ricky.service2;


import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableAutoConfiguration
public class RickyConfig01 {
    @Bean
    public Runnable create(){
        return ()->{
            System.out.println("创建了");
        };
    }
}
